package com.pro.service;

import com.pro.pojo.JsMicrocircle;
import com.pro.pojo.JsUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassName:JsMicrocircleService
 * Package:com.pro.service
 * Description:
 *
 * @Date:2021/11/28 下午 8:30
 * @Author: WYH
 */
public interface JsMicrocircleService {
    List<JsMicrocircle> getTable(String acticleCategroyId,String artcleTitle , String trueName,String account);
    int count(String acticleCategroyId,String artcleTitle , String trueName,String account);
    int countShou(Integer microcircleId);
    /**
     * @author cyj
     * @content :   删除一个微圈
     */
    Boolean deleteMicro(Integer microcircleId,Integer createId);
    /**
     * @author cyj
     * @content : 获取一个微圈的详细内容
     */
    JsMicrocircle getMicMsg(Integer microcircleId,Integer createId);
    /**
     * @author cyj
     * @content : 判断评论人是否存在
     */
    JsUser getUser(String account,String password);
    /**
     * @author cyj
     * @content : 对一个微圈进行评论
     */
    Boolean addMic(JsMicrocircle mic);
}
